Optimal. Leaf size=405 \[ -\frac {b^2 e^2 n^2}{20 d^2 x^{4/3}}+\frac {3 b^2 e^3 n^2}{20 d^3 x}-\frac {47 b^2 e^4 n^2}{120 d^4 x^{2/3}}+\frac {77 b^2 e^5 n^2}{60 d^5 \sqrt [3]{x}}-\frac {77 b^2 e^6 n^2 \log \left (d+e \sqrt [3]{x}\right )}{60 d^6}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}+\frac {b e^2 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{4 d^2 x^{4/3}}-\frac {b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{3 d^3 x}+\frac {b e^4 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{2 d^4 x^{2/3}}-\frac {b e^5 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^6 \sqrt [3]{x}}-\frac {b e^6 n \log \left (1-\frac {d}{d+e \sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^6}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}+\frac {137 b^2 e^6 n^2 \log (x)}{180 d^6}+\frac {b^2 e^6 n^2 \text {Li}_2\left (\frac {d}{d+e \sqrt [3]{x}}\right )}{d^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.63, antiderivative size = 405, normalized size of antiderivative = 1.00, number of steps
used = 24, number of rules used = 10, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {2504, 2445,
2458, 2389, 2379, 2438, 2351, 31, 2356, 46} \begin {gather*} \frac {b^2 e^6 n^2 \text {PolyLog}\left (2,\frac {d}{d+e \sqrt [3]{x}}\right )}{d^6}-\frac {b e^6 n \log \left (1-\frac {d}{d+e \sqrt [3]{x}}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^6}-\frac {b e^5 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^6 \sqrt [3]{x}}+\frac {b e^4 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{2 d^4 x^{2/3}}-\frac {b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{3 d^3 x}+\frac {b e^2 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{4 d^2 x^{4/3}}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}-\frac {77 b^2 e^6 n^2 \log \left (d+e \sqrt [3]{x}\right )}{60 d^6}+\frac {137 b^2 e^6 n^2 \log (x)}{180 d^6}+\frac {77 b^2 e^5 n^2}{60 d^5 \sqrt [3]{x}}-\frac {47 b^2 e^4 n^2}{120 d^4 x^{2/3}}+\frac {3 b^2 e^3 n^2}{20 d^3 x}-\frac {b^2 e^2 n^2}{20 d^2 x^{4/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 46
Rule 2351
Rule 2356
Rule 2379
Rule 2389
Rule 2438
Rule 2445
Rule 2458
Rule 2504
Rubi steps
\begin {align*} \int \frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x^3} \, dx &=3 \text {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x^7} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}+(b e n) \text {Subst}\left (\int \frac {a+b \log \left (c (d+e x)^n\right )}{x^6 (d+e x)} \, dx,x,\sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}+(b n) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^6} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}+\frac {(b n) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^6} \, dx,x,d+e \sqrt [3]{x}\right )}{d}-\frac {(b e n) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^5} \, dx,x,d+e \sqrt [3]{x}\right )}{d}\\ &=-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}-\frac {(b e n) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^5} \, dx,x,d+e \sqrt [3]{x}\right )}{d^2}+\frac {\left (b e^2 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^4} \, dx,x,d+e \sqrt [3]{x}\right )}{d^2}+\frac {\left (b^2 e n^2\right ) \text {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^5} \, dx,x,d+e \sqrt [3]{x}\right )}{5 d}\\ &=-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}+\frac {b e^2 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{4 d^2 x^{4/3}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}+\frac {\left (b e^2 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^4} \, dx,x,d+e \sqrt [3]{x}\right )}{d^3}-\frac {\left (b e^3 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^3} \, dx,x,d+e \sqrt [3]{x}\right )}{d^3}+\frac {\left (b^2 e n^2\right ) \text {Subst}\left (\int \left (-\frac {e^5}{d (d-x)^5}-\frac {e^5}{d^2 (d-x)^4}-\frac {e^5}{d^3 (d-x)^3}-\frac {e^5}{d^4 (d-x)^2}-\frac {e^5}{d^5 (d-x)}-\frac {e^5}{d^5 x}\right ) \, dx,x,d+e \sqrt [3]{x}\right )}{5 d}-\frac {\left (b^2 e^2 n^2\right ) \text {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^4} \, dx,x,d+e \sqrt [3]{x}\right )}{4 d^2}\\ &=-\frac {b^2 e^2 n^2}{20 d^2 x^{4/3}}+\frac {b^2 e^3 n^2}{15 d^3 x}-\frac {b^2 e^4 n^2}{10 d^4 x^{2/3}}+\frac {b^2 e^5 n^2}{5 d^5 \sqrt [3]{x}}-\frac {b^2 e^6 n^2 \log \left (d+e \sqrt [3]{x}\right )}{5 d^6}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}+\frac {b e^2 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{4 d^2 x^{4/3}}-\frac {b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{3 d^3 x}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}+\frac {b^2 e^6 n^2 \log (x)}{15 d^6}-\frac {\left (b e^3 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^3} \, dx,x,d+e \sqrt [3]{x}\right )}{d^4}+\frac {\left (b e^4 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+e \sqrt [3]{x}\right )}{d^4}-\frac {\left (b^2 e^2 n^2\right ) \text {Subst}\left (\int \left (\frac {e^4}{d (d-x)^4}+\frac {e^4}{d^2 (d-x)^3}+\frac {e^4}{d^3 (d-x)^2}+\frac {e^4}{d^4 (d-x)}+\frac {e^4}{d^4 x}\right ) \, dx,x,d+e \sqrt [3]{x}\right )}{4 d^2}+\frac {\left (b^2 e^3 n^2\right ) \text {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^3} \, dx,x,d+e \sqrt [3]{x}\right )}{3 d^3}\\ &=-\frac {b^2 e^2 n^2}{20 d^2 x^{4/3}}+\frac {3 b^2 e^3 n^2}{20 d^3 x}-\frac {9 b^2 e^4 n^2}{40 d^4 x^{2/3}}+\frac {9 b^2 e^5 n^2}{20 d^5 \sqrt [3]{x}}-\frac {9 b^2 e^6 n^2 \log \left (d+e \sqrt [3]{x}\right )}{20 d^6}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}+\frac {b e^2 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{4 d^2 x^{4/3}}-\frac {b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{3 d^3 x}+\frac {b e^4 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{2 d^4 x^{2/3}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}+\frac {3 b^2 e^6 n^2 \log (x)}{20 d^6}+\frac {\left (b e^4 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+e \sqrt [3]{x}\right )}{d^5}-\frac {\left (b e^5 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )} \, dx,x,d+e \sqrt [3]{x}\right )}{d^5}+\frac {\left (b^2 e^3 n^2\right ) \text {Subst}\left (\int \left (-\frac {e^3}{d (d-x)^3}-\frac {e^3}{d^2 (d-x)^2}-\frac {e^3}{d^3 (d-x)}-\frac {e^3}{d^3 x}\right ) \, dx,x,d+e \sqrt [3]{x}\right )}{3 d^3}-\frac {\left (b^2 e^4 n^2\right ) \text {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+e \sqrt [3]{x}\right )}{2 d^4}\\ &=-\frac {b^2 e^2 n^2}{20 d^2 x^{4/3}}+\frac {3 b^2 e^3 n^2}{20 d^3 x}-\frac {47 b^2 e^4 n^2}{120 d^4 x^{2/3}}+\frac {47 b^2 e^5 n^2}{60 d^5 \sqrt [3]{x}}-\frac {47 b^2 e^6 n^2 \log \left (d+e \sqrt [3]{x}\right )}{60 d^6}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}+\frac {b e^2 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{4 d^2 x^{4/3}}-\frac {b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{3 d^3 x}+\frac {b e^4 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{2 d^4 x^{2/3}}-\frac {b e^5 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^6 \sqrt [3]{x}}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}+\frac {47 b^2 e^6 n^2 \log (x)}{180 d^6}-\frac {\left (b e^5 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{-\frac {d}{e}+\frac {x}{e}} \, dx,x,d+e \sqrt [3]{x}\right )}{d^6}+\frac {\left (b e^6 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )}{d^6}-\frac {\left (b^2 e^4 n^2\right ) \text {Subst}\left (\int \left (\frac {e^2}{d (d-x)^2}+\frac {e^2}{d^2 (d-x)}+\frac {e^2}{d^2 x}\right ) \, dx,x,d+e \sqrt [3]{x}\right )}{2 d^4}+\frac {\left (b^2 e^5 n^2\right ) \text {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x}{e}} \, dx,x,d+e \sqrt [3]{x}\right )}{d^6}\\ &=-\frac {b^2 e^2 n^2}{20 d^2 x^{4/3}}+\frac {3 b^2 e^3 n^2}{20 d^3 x}-\frac {47 b^2 e^4 n^2}{120 d^4 x^{2/3}}+\frac {77 b^2 e^5 n^2}{60 d^5 \sqrt [3]{x}}-\frac {77 b^2 e^6 n^2 \log \left (d+e \sqrt [3]{x}\right )}{60 d^6}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}+\frac {b e^2 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{4 d^2 x^{4/3}}-\frac {b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{3 d^3 x}+\frac {b e^4 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{2 d^4 x^{2/3}}-\frac {b e^5 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^6 \sqrt [3]{x}}+\frac {e^6 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 d^6}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}-\frac {b e^6 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )}{d^6}+\frac {137 b^2 e^6 n^2 \log (x)}{180 d^6}+\frac {\left (b^2 e^6 n^2\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {x}{d}\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )}{d^6}\\ &=-\frac {b^2 e^2 n^2}{20 d^2 x^{4/3}}+\frac {3 b^2 e^3 n^2}{20 d^3 x}-\frac {47 b^2 e^4 n^2}{120 d^4 x^{2/3}}+\frac {77 b^2 e^5 n^2}{60 d^5 \sqrt [3]{x}}-\frac {77 b^2 e^6 n^2 \log \left (d+e \sqrt [3]{x}\right )}{60 d^6}-\frac {b e n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{5 d x^{5/3}}+\frac {b e^2 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{4 d^2 x^{4/3}}-\frac {b e^3 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{3 d^3 x}+\frac {b e^4 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{2 d^4 x^{2/3}}-\frac {b e^5 n \left (d+e \sqrt [3]{x}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )}{d^6 \sqrt [3]{x}}+\frac {e^6 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 d^6}-\frac {\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{2 x^2}-\frac {b e^6 n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )}{d^6}+\frac {137 b^2 e^6 n^2 \log (x)}{180 d^6}-\frac {b^2 e^6 n^2 \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )}{d^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.20, size = 533, normalized size = 1.32 \begin {gather*} -\frac {180 a^2 d^6+72 a b d^5 e n \sqrt [3]{x}-90 a b d^4 e^2 n x^{2/3}+18 b^2 d^4 e^2 n^2 x^{2/3}+120 a b d^3 e^3 n x-54 b^2 d^3 e^3 n^2 x-180 a b d^2 e^4 n x^{4/3}+141 b^2 d^2 e^4 n^2 x^{4/3}+360 a b d e^5 n x^{5/3}-462 b^2 d e^5 n^2 x^{5/3}+822 b^2 e^6 n^2 x^2 \log \left (d+e \sqrt [3]{x}\right )+360 a b d^6 \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )+72 b^2 d^5 e n \sqrt [3]{x} \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )-90 b^2 d^4 e^2 n x^{2/3} \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )+120 b^2 d^3 e^3 n x \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )-180 b^2 d^2 e^4 n x^{4/3} \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )+360 b^2 d e^5 n x^{5/3} \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )-360 a b e^6 x^2 \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )+180 b^2 d^6 \log ^2\left (c \left (d+e \sqrt [3]{x}\right )^n\right )-180 b^2 e^6 x^2 \log ^2\left (c \left (d+e \sqrt [3]{x}\right )^n\right )+360 a b e^6 n x^2 \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+360 b^2 e^6 n x^2 \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )-274 b^2 e^6 n^2 x^2 \log (x)+360 b^2 e^6 n^2 x^2 \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right )}{360 d^6 x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \ln \left (c \left (d +e \,x^{\frac {1}{3}}\right )^{n}\right )\right )^{2}}{x^{3}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \log {\left (c \left (d + e \sqrt [3]{x}\right )^{n} \right )}\right )^{2}}{x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,\ln \left (c\,{\left (d+e\,x^{1/3}\right )}^n\right )\right )}^2}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________